package com.zr.entity;

import lombok.Data;

/**
 * @author: peterChen
 * @date: 2019/11/18 9:53
 * @description: com.zr.entity
 * @version: 1.0
 */
@Data
public class Menu {
    private Integer id;
    /**
     * 菜单名称
     */
    private String name;
    /**
     * 菜单对应url
     */
    private String url;
    /**
     * 菜单项所对应的路由路径
     */
    private String path;
    /**
     * 优先级（用于菜单显示排序）
     */
    private Integer priority;
    private String description;
    /**
     * 父菜单id
     */
    private Integer parentMenuId;

    public Menu() {
    }

    public Menu(Integer id, String name, String url, String path, Integer priority, String description, Integer parentMenuId) {
        this.id = id;
        this.name = name;
        this.url = url;
        this.path = path;
        this.priority = priority;
        this.description = description;
        this.parentMenuId = parentMenuId;
    }

}

